var React = require('react');
var Link = require('react-router').Link;


var App = React.createClass({
	render:function(){
		return (
			<div>
		        <h1>React Router Tutorial</h1>
		        <ul role="nav">
		          <li><Link to="/about">About</Link></li>
		          <li><Link to="/repos">Repos</Link></li>
		        </ul>
		        {this.props.children}
		    </div>
		)
	}
})

module.exports = App;